package ind.nuts.lang.entity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

/**
 * @author haoyun.zheng
 */
@Data
public class PageQueryDTO {

    private Long page;

    private Long limit;

    private String sort;

    public <T> Page<T> page() {
        return Page.of(page, limit);
    }

}
